<?php

# 基本参数
$_cbase = [
    'timer' => microtime(true),
    'name' => 'ysKit(ys工具包)', //
    'ver' => '6.0',
    'webRoot' => '/yskit', // 如`/yskit`,注意不要后面的`/`，放web根目录用空`字符串`,
];
# 安全参数，用于加密
$_cbase['safe'] = [
    'site'  => '20228v-2abrYW2F-vSR10V',
    'api'   => '20228v-2ab8UG36-3MXQ1J',
    'other' => '20228v-2ab7TS06-kD9CGK',
];
# cookie 参数
$_cbase['ck'] = [
    'pre' => 'n2T_',
    'path' => '/',
    'domain' => '',
];

# 显示模式:api-JSON, tpl-模板
$_cbase['vmode'] = [
    '_def_' => 'tpl', // 默认输出:api, tpl
    //'root' => 'tpl', 
    'api' => 'api', 
];
# 显示路径-url
$_cbase['vroot'] = [
    '0' => '/', // webRoot
    '1' => '/index.php/', // 
    'r' => '/index.php?r=', // r=route
    's' => '/?r=', // shot-route
    'api' => '/api.php/',
];
# 显示路径-静态文件
$_cbase['paths'] = [
    'ui3nd' => '/static/ui3nd',
    'weys' => '/static/weys',
    'static' => '/static',
];

# 自动加载目录
$_cbase['loads'] = [
    'core', 
    //'app.extend',
    'extend', 
    //'member', 
    //'master', 
    //'utils', // 
];
# 系统运行时变量
$_cbase['mkvs'] = [
    'part' => '', 'mkv' => '', 'type'=>'', 
    'mod' => '', 'key' => '', 'view' => '',
    'tpdef' => '', 'tpone' => '',
];
# ua-关键字
$_cbase['uacfg'] = [
    'spname' => 'Bot|Crawl|Spider|slurp|sohu-search|lycos|robozilla', // Spider名称关键字
    'browsers' => 'MSIE|Netscape|Opera|Konqueror|Mozilla|Trident', // Browser名称关键字
];

# 用户配置
$_cbase['ucfg'] = [];

